Communication system and network control apparatus with encryption processing function, and communication control method

ABSTRACT

A communication system, which performs communication using a transmission packet encrypted by an IP-SEC encrypting method, includes a first encrypting circuit that encrypts a transmission packet by an IP-SEC encrypting method, a second encrypting circuit that encrypt header data to be used to decode the transmission packet encrypted by the first encrypting circuit, and a transmitting circuit that transmit the transmission packet whose header is encrypted by the second encrypting circuit. The communication system further includes a first decoding circuit that decode the authentication data of the reception packet using information to be used to decode the authentication data recorded in the IP-SEC header of the transmission packet and a second decoding circuit that decodes the reception packet using the authentication data decoded by the first decoding circuit.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a system and method that encrypt apacket to perform communication, and more particularly to acommunication system and method that encrypt a packet using an IP-SECencrypting method to perform communication, a Network control apparatus(such as LAN control apparatus) with an encryption processing function,and a communication control program.

2. Description of the Related Art

Conventionally, there is carried out communication in which a securityfunction is added to a TCP/IP based on an IP-SEC (IP Security Protocol).A LAN (Local Area Network) control apparatus with the security functionsbased on the IP-SEC encrypts a packet to be sent to LAN from an upperapparatus such as a personal computer etc., based on an IP-SEC standardto transmit the encrypted packet, and decodes the encrypted packetreceived and transmits the decoded packet to the upper apparatus.

In recent years, the proportion of data encryption by softwareprocessing has increased. Also, the amount of using LAN networkincreases with the widespread use of server client apparatuses and theimportance of data to be handled is improved. For this reason, a systemhaving high reliability and faster processing speed is demanded.

However, in order to response to this demand, the prior art had thefollowing problems.

First, the conventional LAN control apparatus had a problem that a largeload was applied on the CPU at the time of encrypting and decodingprocessing and much time was required for the processing.

Secondly, in the conventional LAN control apparatus, transmission datafrom the upper apparatus is transmitted to a LAN interface based on theLAN standard. Regarding the packet subjected to IP-SEC encryption basedon the IP-SEC standard, data for decoding data subjected to IP-SECencryption is recorded as authentication data of an IP-SEC header forthe transmission packet. As a result, the transmission packet sent to aLAN network via the LAN interface is stolen by a third person (anunauthorized user) and the IP-SEC encryption is decoded, causing a riskthat important secret data is relatively easily leaked out.

The IP-SEC encryption technique is disclosed in, for example, UnexaminedJapanese Patent Application KOKAI Publication No. 2001-313679 (whichcorresponds to the U.S. patent application Ser. No. 09/518,399) andUnexamined Japanese Patent Application KOKAI Publication No.2001-298449. The disclosure of these publications is incorporated hereinby reference.

SUMMARY OF THE INVENTION

A first object of the present invention is to provide a system andmethod that realize high reliability.

Moreover, a second object of the present invention is to make itimpossible for a general apparatus, which is based on an IP-SECstandard, to decode a transmission packet and to prevent secret datafrom being leaked out.

A third object of the present invention is to provide a communicationsystem and method that can highly secured transmission.

In order to attain the aforementioned objects, a communication system ofa first aspect of the present invention that performs communicationusing a transmission packet encrypted by an IP-SEC encrypting methodincludes a first encrypting circuit that encrypts a transmission packetby an IP-SEC encrypting method. The communication system furtherincludes second encrypting circuits that encrypt header data to be usedto decode the transmission packet encrypted by the first encryptingcircuit. The communication system further includes transmitting circuitsthat transmit the transmission packet whose header is encrypted by thesecond encrypting circuits.

For example, the header data is authentication data in an IP-SEC headerof the transmission packet, and the second encrypting circuits encryptauthentication data.

The information to be used to decode encrypted authentication data maybe recorded onto a predetermined unused portion of the IP-SEC header ofthe transmission packet. This information to be used to decode encryptedauthentication data is recorded, for example, between a recording areaof a payload length and a recording area of a security parameter indexin the IP-SEC header of the transmission packet.

The communication system may further comprise: first decoding circuitsthat decode the authentication data of the reception packet usinginformation to be used to decode the authentication data recorded in theIP-SEC header of the transmission packet; and a second decoding circuitthat decodes the reception packet using the authentication data decodedby said first decoding circuits. A plurality of encryption keys, servingas information to be used to decode the authentication data, may berecorded in the IP-SEC header of the transmission packet. A flag thatdesignates how each encryption key is used to decode the authenticationdata may be included in information to be used to decode theauthentication data.

A part of the respective encryption keys to be used to decode theauthentication data may be notified to a recipient's terminal from asender's terminal for the transmission packet, and the authenticationdata of the received transmission packet may be decoded using thenotified encryption key and other encryption keys recorded in the IP-SECheader of the received transmission packet at the recipient's terminalfor the transmission packet.

Each of the encryption keys is formed of, for example, n-bit data. Inthis case, the second encrypting circuits may XOR (exclusive OR) eachn-bits of the authentication data with each encryption key sequentiallyto encrypt the authentication data, and said first decoding circuits mayXOR each n-bits of the authentication data of the encrypted transmissionpacket received with each encryption key to decode the authenticationdata. Or, the second encrypting circuits may XOR each k.n bits of theauthentication data with k.n-bits data obtained by combining kencryption keys sequentially to encrypt the authentication data, andsaid first decoding circuits may XOR each k.n bits of the authenticationdata of the received transmission packet with k.n-bits data obtained bycombining k encryption keys sequentially to decode the authenticationdata.

In the communication system, for example, at a LAN control apparatus ofa sender's terminal for the transmission packet, IP-SEC encryption ofthe transmission packet and encryption of the header data of thetransmission packet subjected to IP-SEC encryption are performed, and ata LAN control apparatus of a recipient's terminal for the transmissionpacket, decoding of the header data of the received transmission packetand IP-SEC encryption of the transmission packet are performed using thedecoded header data.

In order to attain the aforementioned objects, a network controlapparatus of a second aspect of the present invention comprises:

first encrypting means for receiving a transmitting packet from an upperapparatus to perform IP-SEC encryption on the transmitting packet; and

second encrypting means for encrypting header data that is used todecode the transmission packet subjected to IP-SEC encryption and isgenerated at an IP-SEC encrypting time in a predetermined method.

The network control apparatus may further comprises:

first decoding means for decoding the authentication data of thereception packet using information to be used to decode theauthentication data recorded in the IP-SEC header of the transmissionpacket; and

second decoding means for decoding the reception packet using theauthentication data decoded by said first decoding circuits.

In order to attain the aforementioned objects, a communication method ofa third aspect of the present invention comprises the steps of:

encrypting a transmission packet by an IP-SEC encrypting method;

encrypting header data to be used to decode the transmission packetencrypted; and

transmitting the transmission packet whose header is encrypted.

The communication method may further comprising the steps of:

receiving a transmission packet;

decoding the authentication data of the reception packet usinginformation to be used to decode the authentication data recorded in theIP-SEC header of the transmission packet; and

decoding the reception packet using the authentication data decoded bysaid first decoding circuits.

The system, apparatus and method are realized by a computer which runsin accordance with a computer program or a data signal representing thecomputer program embodied in a carrier wave. The computer program arestored in, for example, any recording medium such as a CD-ROM, ahard-desk, and so on. The data signal can be transmitted over a networkby, for example, modulating a carrier wave by the data signal.

BRIEF DESCRIPTION OF THE DRAWINGS

These objects and other objects and advantages of the present inventionwill become more apparent upon reading of the following detaileddescription and the accompanying drawings in which:

FIG. 1 is a block diagram illustrating a configuration of a LAN controlsystem with an encryption processing function according to a firstembodiment of the present invention;

FIG. 2 is a block diagram illustrating a configuration of acommunication system according to the first embodiment of the presentinvention;

FIG. 3 is a block diagram illustrating a configuration of one embodimentof the LAN control system with an encryption processing functionaccording to the first embodiment of the present invention;

FIG. 4 is a view illustrating a data structure of an IP-SEC packetaccording to the first embodiment of the present invention;

FIG. 5 is a view illustrating a data structure of an IP header of anIP-SEC packet according to the first embodiment of the presentinvention;

FIG. 6 is a view illustrating a data structure of an IP-SEC header ofthe IP-SEC packet according to the first embodiment of the presentinvention;

FIG. 7 is a view illustrating a data structure of a flag of the IP-SECheader according to the first embodiment of the present invention;

FIG. 8 is a flowchart explaining an operation of a packet transmissionaccording to the first embodiment of the present invention;

FIG. 9 is a view illustrating one example of a structure of the IP-SECheader before encrypting according to the first embodiment of thepresent invention;

FIG. 10 is a view illustrating one example of the structure of theIP-SEC header after encrypting according to the first embodiment of thepresent invention;

FIG. 11 is a view illustrating one example of a structure of the IP-SECheader before encrypting according to the first embodiment of thepresent invention;

FIG. 12 is a view illustrating one example of the structure of theIP-SEC header after encrypting according to the first embodiment of thepresent invention;

FIG. 13 is a flowchart explaining an operation of a packet receptionaccording to the first embodiment of the present invention.;

FIG. 14 is a view illustrating one example of a structure of the IP-SECheader before decoding according to the first embodiment of the presentinvention;

FIG. 15 is a view illustrating one example of a structure of the IP-SECheader after decoding according to the first embodiment of the presentinvention;

FIG. 16 is a view illustrating one example of a structure of the IP-SECheader before decoding according to the first embodiment of the presentinvention;

FIG. 17 is a view illustrating one example of a structure of the IP-SECheader after decoding according to the first embodiment of the presentinvention;

FIG. 18 is a flowchart explaining an operation of a packet transmissionaccording to the first embodiment of the present invention;

FIG. 19 is a view illustrating one example of a structure of the IP-SECheader before encrypting according to a second embodiment of the presentinvention;

FIG. 20 is a view illustrating one example of the structure of theIP-SEC header after encrypting according to the second embodiment of thepresent invention;

FIG. 21 is a flowchart explaining an operation of a packet receptionaccording to the second embodiment of the present invention;

FIG. 22 is a view illustrating one example of a structure of the IP-SECheader before decoding according to the first embodiment of the presentinvention;

FIG. 23 is a view illustrating one example of a structure of the IP-SECheader after decoding according to the first embodiment of the presentinvention; and

FIG. 24 is a view a structure of a conventional IP-SEC header.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The following will specifically explain embodiments of the presentinvention with reference to drawings accompanying herewith.

As shown in FIG. 1, in a communication system of the present invention,a LAN control apparatus 100 causes a computer 700, which is an upperapparatus, to be connected to a LAN 800 to perform communication.

As the computer 700, which is the upper apparatus, for example, apersonal computer, etc., can be used.

The LAN control apparatus 100 includes a communication function using anIP-SEC encrypting method. The LAN control apparatus 100 performs IP-SECencryption on a transmission packet to be transmitted from the upperapparatus, and sends the encrypted transmission packet to a LAN 800, anddecodes the encrypted packet received and transmits the decoded packetto the upper apparatus.

The LAN control apparatus 100, as shown in FIG. 2, includes a controlsection 101, a communication control program 102, a MAC (Media AccessControl) address storage section 103, a LAN interfacetransmitting/receiving section 104, a transmission data storage sectionA 110, an IP-SEC encrypting section 111, a transmission data storagesection B 112, a reception data storage section B 113, an IP-SECdecoding section 114, a reception data storage section A 115,authentication data encrypting sections A 121, B 122, C 123, D 124, andauthentication data decoding sections D 131, C132, B 133, and A 134.

The control section 101 comprises a CPU (Central Processing Unit) thatis subjected to program control, and controls the respective componentsof the LAN control apparatus 100.

The communication control program 102 is a computer program including afunction of controlling processing of the LAN control apparatus 100. Thecommunication control program 102 is stored in a magnetic disk, asemiconductor memory, or other storage medium. The communication controlprogram 102 is loaded onto the control section 101 from the storagemedium and realizes the respective functions by controlling theoperation.

The MAC address storage section 103 stores a MAC address of the LANcontrol apparatus 100.

The LAN interface transmitting/receiving section 104 performstransmission/reception of the packet via the LAN 800.

The transmission data storage section A 110 stores the transmissionpacket sent from the upper apparatus, and transmits it to the IP-SECencrypting section 111.

The IP-SEC encrypting section 111 performs IP-SEC encryption on thetransmission packet.

Regarding the transmission packet subjected to IP-SEC encryption, therespective authentication data encrypting sections A 121, B 122, C 123,D 124 encrypt authentication data of the IP-SEC header using encryptionkeys A 121-1, B 122-1, C 123-1, and D 124-1, respectively. The detailson the encrypting process will be described later.

The transmission packet subjected to IP-SEC encryption to encryptauthentication data of the IP-SEC header is stored in the transmissiondata storage section B 112, and is transmitted onto the LAN 800 from theLAN interface transmitting/receiving section 104.

Moreover, the LAN interface transmitting/receiving section 104 receivesthe packet subjected to the above encryption from the LAN 800, andstores it to the reception data storage section B 113. Theauthentication data decoding sections D 131, C 132, B 133, and A 134decode authentication data of the IP-SEC header for the packet stored inthe received data storage section B 113 using encryption keys A, B, C,and D according to control of the control section 101, respectively.

Then, the IP-SEC decoding section 114 decodes IP-SEC encoded data forthe packet using the decoded authentication data. The decoded packet isstored in the reception data storage section A 115, and is sent to theupper apparatus.

FIG. 3 is a block diagram illustrating a first example of the specificconfiguration of a LAN control apparatus 200 with an encryptionprocessing function according to one embodiment of the presentinvention.

Moreover, FIGS. 4 to 7 are views each illustrating a data structure ofan IP-SEC packet (transmission packet) 600 according to the presentembodiment. FIGS. 9 to 12 are views each specifically illustrating anIP-SEC header 620 in an encryption processing of this embodiment. FIGS.14 to 17 are views each specifically illustrating the IP-SEC header 620in a decode processing of this embodiment.

First of all, the function of each component of the embodiment of FIG. 3will be explained.

A FIFO (First In First Out) memory 215 temporarily stores data, which isobtained by decoding data received from the LAN interface using variouskinds of decoding circuits, in order to transmit such data to the upperapparatus. The FIFO memory 215 checks an interface idle time of theupper apparatus, and transmits data to the upper apparatus.

A FIFO memory 210 temporarily stores transmission data, which was sentfrom the upper apparatus and which is to be sent to the LAN interface.The FIFO memory 210 transmits data according to a request from an IP-SECencrypting circuit 211.

A MAC address storage ROM 203 is a memory that stores a MAC address ofthe LAN control apparatus 200. The MAC address storage ROM 203 transmitsthe stored MAC address according to a reading request from a controlsection 201.

The IP-SEC encrypting circuit 211 encrypts transmission data receivedvia the FIFO memory 210 based on an IP-SEC procedure and transmits theencrypted data to a next authentication data encrypting circuit A 221.

The authentication data encrypting circuit A 221 receives the encrypteddata sent from the IP-SEC encrypting circuit 211. The authenticationdata encrypting circuit A 221 checks an encryption flag that is providedin an unused portion (undefined portion) of the IP-SEC header ofencrypted data received. Then, when determining that encryptionprocessing of the circuit itself is necessary, the authentication dataencrypting circuit A 221 performs XOR (eXclusive OR, exclusivedisjunction, EX-OR) operation between an encryption key A andauthentication data in the IP-SEC header. The authentication dataencrypting circuit A 221 sets a result of the XOR operation to an IP-SECheader, and sends encrypted data to an authentication data encryptingcircuit B 222. In addition, the encryption key A is set by the controlsection 201.

Authentication data encrypting circuits B 222 to D 224 check whether ornot their encryption processing is necessary, similar to theaforementioned authentication data encrypting circuit A 221. Whendetermining that their encryption processing is necessary, theauthentication data encrypting circuits B 222 to D 224 encryptauthentication data based on the encryption key allocated to therespective circuits, and transfers processed data to a next processingcircuit.

A transmission data buffer 212 is a buffer that stores encryptedtransmission data from the authentication data encrypting circuit D 224and that transmits stored data according to a request from a LANinterface transmitting/receiving section 204. For example, thetransmission data buffer 212 stores transmission data on a frame basisand transmits such data.

A reception data buffer 213 stores encrypted reception data sent fromthe LAN interface transmitting/receiving section 204, and transmits suchdata to an authentication data decoding circuit D 231. For example, thereception data buffer 213 stores reception data on a frame basis andtransmits such data.

The control section 201 controls the entire LAN control apparatus 200.

The control section 201 receives in advance four kinds of keys forencrypting authentication data sent from the upper apparatus prior toencrypting transmission data to the LAN interface. Then, the controlsection 201 stores these encryption keys to key sections (221-1 to224-1) of authentication data encrypting circuits A 221 to D 224 thatneed processing, respectively.

The control section 201 instructs the IP-SEC encrypting circuit 211 tostore keys for encrypting various kinds of authentication data(encryption keys) and a flag indicating a kind of encryption to apredetermined unused portion of the IP-SEC header.

Moreover, regarding the decoding of data received from the LANinterface, a decoding key D for an authentication data decoding circuitD 231 sent from software is determined in a similar fashion (in thiscase, the key D is controlled by software to keep the sameness as in thecase of the encrypting time).

A program storage ROM 202 is a memory that stores a control program ofthe control section 201 of the LAN control apparatus 200.

The LAN interface transmitting/receiving section 204 reads data to betransmitted to the LAN interface from the transmission data buffer 212and transmits such data. Also, the LAN interface transmitting/receivingsection 204 sends data received from the LAN interface to the receptiondata buffer 213. The LAN interface transmitting/receiving section 204performs transmission/reception of data between the transmission databuffer 212 and reception data buffer 213 on a frame basis.

An IP-SEC decoding circuit 214 runs (executes) such processing thatdecodes data encrypted by the standard IP-SEC function to return todata, which is not subjected to encryption.

Each of authentication data decoding circuits A 234 to D 231 includesfunctions of analyzing a flag of received data in the IP-SEC head,fetching an authentication data decoding key for each circuit to storeto a predetermined key storing section A 234-1 to D 231-1, and executingdecoding (exclusive OR) by a predetermined procedure based on the keywhen determining that each circuit must perform processing.

Since the IP-SEC encrypting circuit 211 and IP-SEC decoding circuit 214of FIG. 3 are well known to one skilled in the art, the specificexplanation of the structure is omitted.

The IP-SEC packet 600 of this embodiment includes an IP header 610, anIP-SEC header 620, and actual transmission data 630. The IP header 610is a header that is generated by the upper apparatus (computer 700), andis added when a packet is generated. The IP-SEC header 620 is a headerthat is generated when IP-SEC encryption is performed on the packet, andinformation that is used in decoding is recorded thereon. Moreover,actual transmission data 630 is data encrypted in IP-SEC encryptingprocessing and not subjected to authentication data encryption of thisembodiment.

As shown in FIG. 5, the IP header 610 includes a destination address611, a source address 612, packet type information 613, and an adapterID 614.

As shown in FIG. 6, the IP-SEC header 620 includes next header positioninformation 621, which indicates a next header position, payload lengthinformation 622, which indicates a length of a payload, a key A 623,which is an encryption key, a key B 624, a key C 625, a flag 626, asecurity parameter index (SPI) 627, a sequence number field 628, andauthentication data 629.

Authentication data 629 is used to decode data subjected to IP-SECencryption in actual transmission data 630 of the IP-SEC packet 600. TheLAN control apparatus 200 of this embodiment encrypts authenticationdata 629 and transmits it to the IP-SLC packet 600.

The IP-SEC header 620 of this embodiment has a configuration that threeencryption keys (key A 623, key B 624, key C 625) to be used to decodeauthentication data 629 and a flag 626, which shows how authenticationdata is decoded using the respective encryption keys, are recorded on anunused area 83 positioned between a recording area of a payload lengthof a conventional IP-SEC header 80 shown in FIG. 24 and a recording areaof a security parameter index (SPI).

The unused area 83 of the conventional IP-SEC header 80 is 16 bits (2bytes) and each length of the encryption keys A 623, B 624, C 625 andflag 626 is 4 bits.

The encryption key D is neither recorded on the IP-SEC header 620 andnor notified to a transmission destination. Namely, the encryption key Dis separately notified to the LAN control apparatus 200 for a recipientfrom the LAN control apparatus 200 for a sender via LAN 800 etc. Then,the encryption key D is used to decode authentication data at the LANcontrol apparatus 200 according to an instruction from the upperapparatus.

The flag 626 of the IP-SEC header 620 has a 4-bit configuration, andkeys D to A are allocated to the respective bits as shown in FIG. 7. TheLAN control apparatus 200 decodes and encrypts authentication data usingencryption keys (key A/key B/key C/key D) designated by this flag 626 (avalue of designated bit is “1”).

Thus, the LAN control apparatus 200 encrypts authentication data 629 inthe IP-SEC header 620 for a transmission packet using the respectiveauthentication data encrypting circuits A 221 to D 224. Then, the LANcontrol apparatus 200 decodes authentication data 629 in the IP-SECheader 620 for a reception packet using the respective authenticationdata decoding circuits A 234 to D 231. The LAN control apparatus 200decodes authentication data 629 using an encryption key that isdesignated by the flag 626 in four encryption keys including three kindsof encryption keys (key A/key B/key C) of the IP-SEC header 620 and thekey D separately notified.

Even if a third person (an unauthorized user) obtains the IP-SEC packet,or transmission packet 600 sent to a LAN 800, authentication data 629,which is an encryption parameter necessary for decoding data, isencrypted. For this reason, the LAN control apparatus corresponding toonly the conventional IP-SEC cannot decode this data.

Moreover, by adopting a method in which the encryption key D is set tothe LAN control apparatus 200 from the upper apparatus without beingincluded in the packet, it is possible to prevent unauthorized decodingand to attain highly secured communication even though the third person(an unauthorized user) possesses the LAN control apparatus 200 of thepresent embodiment.

The following will explain an operation of the present embodiment. Firstof all, an explanation will be given of an operation of encryptionprocessing with reference to a flowchart of FIG. 8 and FIGS. 9 to 12.

An explanation will be first given of processing for encryptingauthentication data 309 of an IP-SEC header 300 shown in FIG. 9.

The upper apparatus notifies the control section 201 of a transmissionrequest and authentication data encryption keys (A, B, C, D) whentransmitting data onto the LAN via the LAN interface. In response tothis notification, the control section 201 notifies the IP-SECencrypting circuit 211 of flag information indicating the encryptionkeys and types of encryption to be stored at predetermined positions ofbits 16 to 31 of the IP-SEC header 300.

In an example of FIG. 9, the control section 201 notifies the IP-SECencrypting circuit 211 of information that “F”, “5”, “C”, and “7 (0111hx)” are stored to a key A portion 303, a key B portion 304, a key Cportion 305, and a flag portion 306, respectively (informationindicating that encryption keys A, B, C are respectively valid as shownin FIG. 7).

The IP-SEC encrypting circuit 211 that has received this notificationexecutes encryption processing based on a predetermined procedure (step1001). Thereafter, the IP-SEC encrypting circuit 211 stores thisnotification information at predetermined positions of bits 16 to 31 ofthe IP-SEC header (step 1002), and transmits this transmittinginformation to the authentication data encrypting circuit A 221.

Moreover, the control section 201 sets the encryption key forauthentication data encrypting circuit A 221, the encryption key forauthentication data encrypting circuit B 222 and the encryption key forauthentication data encrypting circuit C 223 to “F” for key A, “5” forkey B, and “C” for key C, respectively (step 1003).

After that, among the respective authentication data encrypting circuitsA 221 to D 224, each circuit to which processing is instructed from thecontrol section 201 encrypts authentication data using each encryptionkey (steps 1004 to 1011).

More specifically, the authentication data encrypting circuit A 221receives an encrypted transmission packet from the IP-SEC encryptingcircuit 211, and determines that bit 31 of the IP-SEC header 300 in thesame transmission packet is valid (1). The authentication dataencrypting circuit A 221 encrypts authentication data 309 according tothis determination (steps 1004, 1005).

In this example, it is assumed that, the authentication data encryptingcircuit A221 XORs “FFEAF8353558E655” of authentication data 309 with all“F” every 4 bits (namely, an XOR with “FFFFFFFFFFFFFFFF” is executed).The authentication data encrypting circuit A 221 sends a value of“001507CACAA719AA” obtained thereby to the authentication dataencrypting circuit B 222.

Next, the authentication data encrypting circuit B 222 receivesencrypted transmission data from the authentication data encryptingcircuit A 221, and determines that bit 30 of the IP-SEC header in thesame data is valid (1). The authentication data encrypting circuit B 222XORs “001507CACAA719AA” of authentication data 309 in the data with all“5” every 4 bits according to this determination. In other words, an XORwith “5555555555555555” is executed (steps 1006 and 1007). Theauthentication data encrypting circuit B 222 sends a value of“5540529F9FFF24CFF” obtained thereby to the authentication dataencrypting circuit C 223.

After that, the authentication data encrypting circuit C 223 receivesencrypted transmission data from the authentication data encryptingcircuit B 222, and determines that bit 29 of the IP-SEC header in thesame data is valid (1). The authentication data encrypting circuit C 223XORs authentication data 309 in the data with all “C” every 4 bitsaccording to this determination. The authentication data encryptingcircuit C 223 sends a value of “998C9E53533E8033” obtained thereby tothe authentication data encrypting circuit) 224 (steps 1008 and 1009).

Next, the authentication data encrypting circuit D 224 that has receivedthe aforementioned encrypted transmission data from the authenticationdata encrypting circuit C 223, transmits the same data to thetransmission data buffer 212 since it receives no instruction to encryptfrom the control section 201 (step 1010).

Encrypted data thus generated (the details on the IP-SEC header 300A inwhich authentication data has been encrypted is shown in FIG. 10) istransmitted to the LAN interface via the LAN interfacetransmitting/receiving section 204 based on a predetermined procedure.

Since this encrypted authentication data 309A is completely differentfrom authentication data 309, which is not subjected to encryption, thisIP-SEC packet cannot be decoded by an apparatus having a standard IP-SECfunction.

Similarly, an explanation will be given of the operations whenauthentication data encrypting circuits A 221 and D 224 are employed ascircuits to be used. In this case, a value of the flag is “9 (1001 hx)”as shown in an IP-SEC header 400 of FIG. 11.

The control section 201 transmits key A data and a flag indicating akind of encryption to the IP-SEC encrypting circuit 211. Then, thecontrol section 201 sets “F” and “EE” to the encryption key A for theauthentication data encrypting circuit A 221 and the encryption key Dfor the authentication data encrypting circuit D 224, respectively(steps 1001, 1002). The value of the encryption key D is a value that isinstructed from the upper apparatus and is not shown in the IP-SECheader 400.

By information sent from the control section 201, the IP-SEC encryptingcircuit 211 sets “F”, which is the value of the key A, and “9”, which isthe value of the flag, to predetermined areas (403, 406) in the IP-SECheader 400 of FIG. 11 (step 1003).

The authentication data encrypting circuit A 221 that has received datasubjected to this set IP-SEC encryption determines that bit 31 of theIP-SEC header in the same data is valid (1). The authentication dataencrypting circuit A 221 XORs “FFEAF8353558E655” of authentication data409 in the same data with all “F” every 4 bits according to thisdetermination. The authentication data encrypting circuit A 221 sends avalue of “001507CACAA719AA” obtained thereby to the authentication dataencrypting circuit B 222.

The authentication data encrypting circuit B 222 receives aforementionedencrypted transmission data from the authentication data encryptingcircuit A 221. The authentication data encrypting circuit B 222determines that bit 30 of the IP-SEC header is invalid (0). Theauthentication data encrypting circuit B 222 directly transmits the samedata to the authentication data encrypting circuit C 223 according tothis determination (step 1006).

The authentication data encrypting circuit C 223 receives aforementionedencrypted transmission data from the authentication data encryptingcircuit B 222. The authentication data encrypting circuit C 223determines that bit 29 of the IP-SEC header is invalid (0). Theauthentication data encrypting circuit C 223 directly transmits the samedata to the authentication data encrypting circuit D 224 according tothis determination (step 1008).

The authentication data encrypting circuit D 224 receives aforementionedencrypted transmission data from the authentication data encryptingcircuit C 223. The authentication data encrypting circuit D 224determines that bit 28 of the IP-SEC header is invalid (1). Theauthentication data encrypting circuit D 224 XORs “001507CACAA719AA” ofan authentication data portion in the IP-SEC header with all “E” every 4bits according to this determination (namely, all “EE” every 8 bits).The authentication data encrypting circuit D 224 sets a value of“EEFBE9242449F744” obtained thereby to authentication data 409, andsends transmitting data to the transmission data buffer 212.

Encrypted data thus generated (the details on the IP-SEC header 400A inwhich authentication data has been encrypted is shown in FIG. 12) istransmitted to the LAN interface via the LAN interfacetransmitting/receiving section 204 based on a predetermined procedure.

While, decoding data received from the LAN interface will be explainedwith reference to a flowchart of FIG. 13 and FIGS. 14 to 17.

An explanation will be first given of an operation when the receivedpacket has an IP-SEC header 30013 shown in FIG. 14. This can be comparedwith examples of FIGS. 9 and 10 at an encrypting time.

Encrypted data received by the LAN interface transmitting/receivingsection 204 is stored to the reception data buffer 213, and transmittedto the authentication data decoding circuit D 231 (steps 1101 to 1103).

The authentication data decoding circuit D 231 determines that bit 28 ofa flag 306 for encrypting authentication data of the IP-SEC header 300Bin the data received from the reception data buffer 213 is invalid (0).The authentication data encrypting circuit D 231 sends this data to anext authentication data decoding circuit C 232 without executingprocessing for decoding authentication data 309B according to thisdetermination (step S1104).

The authentication data decoding circuit C 232 receives reception datafrom the authentication data decoding circuit D 231 and determines thatbit 29 of the IP-SEC header in the same data is valid (1). Theauthentication data decoding circuit C 232 decodes authentication data309B using the value “C” of the key C set in the key C portion 305according to this determination (steps S1106, 1107). Namely, theauthentication data decoding circuit C 232 XORs each 4 bits of“998C9E53533E8033” of authentication data 309B with “C.” Then, theauthentication data decoding circuit C 232 sets “5540529F9FF24CFF”obtained thereby to authentication data 309B. Sequentially, theauthentication data decoding circuit C 232 transmits the receptionpacket to the authentication data decoding circuit B 233.

The authentication data decoding circuit B 233 receives the receptionpacket from the authentication data decoding circuit C 232 anddetermines that bit 30 of the IP-SEC header in the reception packet isvalid (1). The authentication data decoding circuit B 233 XORs each 4bits of authentication data in the reception packet with the value “5”of the key B according to this determination. The authentication datadecoding circuit B 233 sets “001507CACAA719AA” obtained thereby toauthentication data 309B of the IP-SEC header. Then, the authenticationdata decoding circuit B 233 transmits the reception packet in whichauthentication data is updated to the authentication data decodingcircuit A 234 (steps 1108, 1109).

The authentication data decoding circuit A 234 receives the receptionpacket from the authentication data decoding circuit B 233. Theauthentication data decoding circuit A 234 determines that bit 31 of theIP-SEC header in the reception packet is valid (1). The authenticationdata decoding circuit A 234 XORs each 4 bits of authentication data inthe reception packet with the value “5” of the key B according to thisdetermination.

The authentication data decoding circuit A 234 sets “FFEAF8353558E655”obtained thereby to authentication data 309 of the reception packet.Then, the authentication data decoding circuit A 234 transmits thereception packet in which authentication data is updated to the IP-SECdecoding circuit A 214 (steps 1110, 1111).

The IP-SEC decoding circuit A 214 receives the reception packet in whichauthentication data is thus decoded (the details on the IP-SEC header300C in which authentication data has been decoded is shown in FIG. 15).The IP-SEC decoding circuit A 214 decodes actual data using decodedauthentication data, and supplies the decoded data to the FIFO memory215. This data is transmitted to the upper apparatus from the FIFOmemory 215 (step 1112).

Moreover, this results in that decoded authentication data 309C of theIP-SEC header 300C of FIG. 15 matches authentication data 309 of theIP-SEC header 300 which is not encrypted shown in FIG. 9. Then, IP-SECdecoding processing is normally carried out and data is completelyrestored to original data.

The following will explain a case that data in which encryption keys Aand D are valid with reference to FIGS. 16 and 17. This can he comparedwith examples of FIGS. 11 and 12 at an encrypting time.

In the upper apparatus for the sender and the upper apparatus for therecipient, the use of key D for authentication data decoding circuit Dand the value are decided before communication is started. It is assumedthat the key D is “EE” in this case.

The upper apparatus of the receiving part notifies the control section201 of the LAN control apparatus 200 of the use of key D and “EE” of thekey D for authentication data decoding circuit D 231 before receivingdata. The control section 201 stored the key D to a key D storingportion 231-1 of the authentication data decoding circuit D 231.

The LAN interface transmitting/receiving section 204 stores the receivedpacket to the reception data buffer 213. The authentication datadecoding circuit D 231 reads received data from the reception databuffer 213, sequentially (steps 1101-1103).

The authentication data decoding circuit D 231 determines that bit 28 ofan authentication data encrypting flag 406 of an IP-SEC header 400B inthe reception packet read from the reception data buffer 213 is valid(1). The authentication data decoding circuit D 231 XORs each 8 bits of“EEFBE9242449F744” of authentication data 409B in the same data with thevalue “EE” of the key D according to this determination. Namely, theauthentication data decoding circuit D 231 XORs each 4 bits ofauthentication data 409B with “E.” The authentication data decodingcircuit D 231 sets “001507CACAA719AA” obtained thereby to authenticationdata 409B. The authentication data decoding circuit D 231 transmits thereception packet in which authentication data is updated to theauthentication data decoding circuit C 232.

Since bits 29 and 30 of the authentication data encrypting flag 406 ofthe IP-SEC header 400B are invalid (0), the authentication data decodingcircuits C 232 and B 233 do not execute any processing particularly, butsend reception data to the authentication data decoding circuits B 233and A 234, respectively.

The authentication data decoding circuit A 234 receives the receptionpacket from the authentication data decoding circuit B 233 anddetermines that bit 31 of the I-SEC header is valid (1). Theauthentication data decoding circuit A 234 XORs each 4 bits ofauthentication data, “001507CACAA719AA”, with the value “F” of the key Aaccording to this determination. The authentication data decodingcircuit A 234 sets “FFEAF8353558E655” obtained thereby to authenticationdata 409B. The authentication data decoding circuit A 234 transmits thereception packet in which authentication data 409B is updated to theIP-SEC decoding circuit 214 (steps 1110, 1111).

The IP-SEC decoding circuit 214 performs IP-SEC decoding on thereception packet in which authentication data is thus decoded (thedetails on the IP-SEC header 400C subjected to authentication datadecoding is shown in FIG. 17) in a general processing to restore data tothe original data. The IP-SEC decoding circuit 214 transmits decodedreception data to the upper apparatus via the FIFO memory 215 (step1112).

This results in that decoded authentication data 409C shown in FIG. 17matches authentication data 409 which is not encrypted shown in FIG. 11,and IP-SEC decoding processing is normally carried out and data iscompletely restored to original data.

As explained above, in case of encrypting transmission data sent fromthe upper apparatus, the LAN control apparatuses 100 and 200 of thepresent embodiment encrypt transmission data using the IP-SECencrypting, circuit 211 and authentication data encrypting circuits A221 to D 224 in a multiplex manner without using the CPU (controlsection 201) of the main apparatus. This makes it possible to prevent anincrease in loads applied to the CPU with the execution of encryption.Moreover, this makes it difficult for a third person to analyze thecontent of data immediately in case of that data transmitted to the LANinterface is stolen by the third person during the passage through a LANnetwork. Accordingly, it is possible to achieve an extremely largeeffect in prevention of a leak out of secret data (improvement of datasecurity).

An explanation will be next given of a second embodiment of the presentinvention.

The apparatus configuration of the LAN control apparatus of the secondembodiment of the present invention is the same as that of the LANcontrol apparatus 200 of the first embodiment of FIG. 3. This embodimentexerts ingenuity in handling the respective encryption keys forencryption and decoding.

Regarding data to be used to encrypt authentication data 629, thefeature of this embodiment is that the respective encryption keysA/B/C/D are not directly used but combined with one another. FIG. 18 isa flowchart illustrating an encrypting operation at a packettransmitting time according to this embodiment. FIG. 21 is a flowchartexplaining a decoding operation at a packet transmitting time accordingto this embodiment.

The encrypting operation will be specifically explained using an exampleof a case in which three kinds of encryption keys, that is, “F” for keyA, “5” for key B and “C” for key C are used in an IP-SEC header 500shown in FIG. 19.

The control section 201 sets 8-bit “F5” to the authentication dataencrypting circuit A 221. The 8-bit “F5” is formed by combining “F” forkey A and “5” for key B and is used as encrypting data to be used toencrypt authentication data.

The control section 201 sets 8-bit “F5” to the authentication dataencrypting circuit B 222. The 8 bit “5C” is formed by combining “5” forkey B and “C” for key C and is used as encrypting data to be used toencrypt authentication data (step 1203).

The control section 201 sets “C7” to the authentication data encryptingcircuit C 223. “C7” is formed by combining “C” for key C and “7” for aflag 506 and is used as encrypting data to be used to encryptauthentication data (steps 1201 to 1203).

The authentication data encrypting circuit A 221 XORs 8-bit “F5” where“F” for key A and “5” for key B are combined with each 8 bits ofauthentication data 509, “FFEAF8353558E655” (XOR “FFEAF8353558E655” and“F5F5F5F5F5F5F5F” is performed). The authentication data encryptingcircuit A 221 sets “0A1F0DC0C0AD13A0” obtained thereby to authenticationdata 509. The authentication data encrypting circuit A 221 transmits thereception packet in which authentication data is updated to theauthentication data encrypting circuit B 222 (steps 1204, 1205).

The authentication data encrypting circuit B 222 XORs set “5C” with each8 bits of authentication data 509. Then, the authentication dataencrypting circuit B 222 sets “5643519C9CF14FFC” obtained thereby toauthentication data 509. Then, the authentication data encryptingcircuit B 222 transmits transmitting data in which authentication data509 is updated to the authentication data encrypting circuit C 223(steps 1206, 1207).

The authentication data encrypting circuit C 223 XORs set “7” with each8 bits of authentication data 509. Then, the authentication dataencrypting circuit C 223 sets “9184965BSB36882B” obtained thereby toauthentication data 509. Then, the authentication data encryptingcircuit C 223 transmits transmitting data in which authentication data509 is updated to the authentication data encrypting circuit D 224(steps 1208, 1209).

The authentication data encrypting circuit D 224 transmits this sentdata to the transmission data buffer 212 directly since execution ofprocessing is not set by the flag 506 (step 1210). As a result, thisencrypted transmission packet is sent (step 1212). FIG. 20 shows anIP-SEC header 500A subjected to this encryption processing.

An explanation will be next given of the operation of the LAN controlapparatus 200 in the case of receiving the packet having an IP-SECheader 500B configured as in FIG. 22 (the same as the IP-SEC header500A) with reference to FIG. 21.

First, the authentication data decoding circuit D 231 determines thatthe flag 506 of IP-SEC header 500B is 7 and bit 28 is invalid (0). Then,the authentication data decoding circuit D 231 sends the receptionpacket to the authentication data decoding circuit C 232 withoutexecuting any special processing particularly.

The authentication data decoding circuit C 232 determines that the flag506 of IP-SEC header 500B is 7 and bit 29 is valid (1). Theauthentication data decoding circuit C 232 decodes authentication data509B using combined data “C7” of key “C” and flag “7.” Morespecifically, the authentication data decoding circuit C 232 XORs each 8bits of authentication data 509B with combined data “C7” and sets thevalue obtained thereby to authentication data 509B. Then, theauthentication data decoding circuit C 232 sends the reception packet inwhich authentication data is updated to the authentication data decodingcircuit B 233.

The authentication data decoding circuit B 233 determines that the flag506 of IP-SEC header 500B is 7 and bit 30 is valid (1). Theauthentication data decoding circuit B 233 decodes authentication data509B using combined data “5C” of key “5” and flag “C.” Morespecifically, the authentication data decoding circuit B 233 XORS each 8bits of authentication data 509B with combined data “5C” and sets thevalue obtained thereby to authentication data 509B. Then, theauthentication data decoding circuit B 233 sends the reception packet inwhich authentication data is updated to the authentication data decodingcircuit A 234.

The authentication data decoding circuit A 234 determines that the flag506 of IP-SEC header 500B is 7 and bit 31 is valid (1). Theauthentication data decoding circuit A 234 decodes authentication data509B using combined data “F5” of key “F” and flag “5.” Morespecifically, the authentication data decoding circuit A 234 XORs each 8bits of authentication data 509B with combined data “F5” and sets thevalue obtained thereby to authentication data. The IP-SEC header 500Cthus decoded is the same as the IP-SEC header 500, which is notsubjected to encryption, as show in FIG. 23.

The authentication data decoding circuit A 234 sends the receptionpacket in which authentication data is updated to the IP-SEC decodingcircuit 214.

The IP-SEC decoding circuit 214 decodes actual data using the decodedauthentication data to provide to the upper apparatus via the FIFOmemory 215.

In addition, regarding the method for combining the encryption keys, anymethod may be used without being limited to the aforementioned example.For example, there can be considered a method in which keys are combinedin the reverse order to the aforementioned method (namely, in the aboveexample, “5F”, “C5”, “7C”), and a method in which other two keys arecombined, e.g., the use of key B+key C as key A.

Moreover, any number of keys to be combined may be possible withoutbeing limited to two. Then, according to the number of bits of encrypteddata generated by this combination (for example, 8 bits for “5C” and 12bits for “5C7”), the respective encrypting circuits and decodingcircuits perform XOR for each fixed number of bits of authenticationdata to make it possible to carry out encrypting and decoding.

As mentioned above, according to this embodiment, it is possible toencrypt authentication data 509 in more complicated manner and toachieve improvement of high security even in a case where the sametransmission data as FIG. 9 of the first embodiment is used.

Moreover, encryption processing executed by each encrypting circuitbased on the encryption keys is not limited to XOR method. Encryptioncan be executed by adopting the prior art of various encrypting methodsother than the XOR method, so that more complicated encrypting methodcan be adopted. Then, the respective decoding circuits perform decodingusing the encryption keys sequentially to make it possible to decode theencrypted authentication data.

Still moreover, according to the present invention, the number ofencryption keys and the data length, etc., are not limited to theaforementioned embodiments. For example, there can be employed a mode inwhich the number of encryption keys is three without using theencryption key D, a mode in which all four encryption keys are recordedin the IP-SEC head without using the flag.

Additionally, in the LAN control apparatuses 100 and 200 of theaforementioned embodiments, the control section 101 achieved theaforementioned functions according to the communication control program102. The present invention is not limited to this. A mode that achievesthe aforementioned functions in view of hardware is also possible in asimilar fashion.

The LAN 800 is an example of a network. Other types of networks such asa WAN, the Internet, and so on may be used.

The communication control program 102 may be transferred over thenetwork by embodying a data signal representing the communicationcontrol program in a carrier wave.

Various embodiments and changes may be made thereunto without departingfrom the broad spirit and scope of the invention. The above-describedembodiments are intended to illustrate the present invention, not tolimit the scope of the present invention. The scope of the presentinvention is shown by the attached claims rather than the embodiments.Various modifications made within the meaning of an equivalent of theclaims of the invention and within the claims are to be regarded to bein the scope of the present invention.

This application is based on Japanese Patent Application No. 2002-002704filed on Jan. 9, 2002 and including specification, claims, drawings andsummary. The disclosure of the above Japanese Patent Application isincorporated herein by reference in its entirety.

1. A communication system that performs communication using atransmission packet encrypted by an IP-SEC encrypting method, saidcommunication system comprising: a first encrypting circuit thatencrypts a transmission packet by an IP-SEC encrypting method; a secondencrypting circuit that encrypts header data to be used to decode thetransmission packet encrypted by said first encrypting circuit, whereinthe header data is authentication data in an IP-SEC header of thetransmission packet, and the second encrypting circuit encrypts theauthentication data; and a transmitting circuit that transmits theencrypted transmission packet whose header is encrypted by said secondencrypting circuit, wherein information used to decode the encryptedauthentication data is recorded onto a predetermined unused portion ofthe IP-SEC header of the transmission packet.
 2. A communication systemthat performs communication using a transmission packet encrypted by anIP-SEC encrypting method, said communication system comprising: a firstencrypting circuit that encrypts a transmission packet by an IP-SECencrypting method; a second encrypting circuit that encrypts header datato be used to decode the transmission packet encrypted by said firstencrypting circuit, wherein the header data is authentication data in anIP-SEC header of the transmission packet, and the second encryptingcircuit encrypts the authentication data; and a transmitting circuitthat transmits the encrypted transmission packet whose header isencrypted by said second encrypting circuit, wherein information to beused to decode encrypted authentication data is recorded between arecording area of a payload length and a recording area of a securityparameter index in the IP-SEC header of the transmission packet.
 3. Acommunication system that performs communication using a transmissionpacket encrypted by an IP-SEC encrypting method, said communicationsystem comprising: a first encrypting circuit that encrypts atransmission packet by an IP-SEC encrypting method; a second encryptingcircuit that encrypts header data to be used to decode the transmissionpacket encrypted by said first encrypting circuit, wherein the headerdata is authentication data in an IP-SEC header of the transmissionpacket, and the second encrypting circuit encrypts the authenticationdata; a transmitting circuit that transmits the encrypted transmissionpacket whose header is encrypted by said second encrypting circuit; afirst decoding circuit that decodes the encrypted authentication data ofthe reception packet using information to be used to decode theencrypted authentication data recorded in the IP-SEC header of thereceived encrypted transmission packet; and a second decoding circuitthat decodes the received encrypted transmission packet using theauthentication data decoded by said first decoding circuit.
 4. Thecommunication system according to claim 3, wherein a plurality ofencryption keys, serving as information to be used to decode theencrypted authentication data, is recorded in the IP-SEC header of thetransmission packet.
 5. The communication system according to claim 4,wherein a flag that designates how each encryption key is used to decodethe encrypted authentication data is included in information to be usedto decode the encrypted authentication data.
 6. The communication systemaccording to claim 4, wherein a part of the respective encryption keysto be used to decode the encrypted authentication data is notified to arecipient's terminal from a sender's terminal for the encryptedtransmission packet, and the encrypted authentication data of thereceived encrypted transmission packet is decoded using the notifiedencryption key and other encryption keys recorded in the IP-SEC headerof the received encryption transmission packet at the recipient'sterminal for the transmission packet.
 7. The communication systemaccording to claim 4, wherein each of the encryption keys is formed ofn-bit data, said second encrypting circuit XOR each n-bits of theauthentication data with each encryption key sequentially to encrypt theauthentication data, and said first decoding circuit XOR each n-bits ofthe authentication data of the encrypted transmission packet receivedwith each encryption key to decode the authentication data.
 8. Thecommunication system according to claim 4, wherein each of theencryption keys is formed of n-bit data, said second encrypting circuitXOR each k multiplied by n bits of the authentication data with kmultiplied by n-bit data obtained by combining k encryption keyssequentially to encrypt the authentication data, and said first decodingcircuit XOR each k multiplied by n bits of the authentication data ofthe received transmission packet with k multiplied by n-bit dataobtained by combining k encryption keys sequentially to decode theauthentication data.
 9. The communication system according to claim 8,wherein at a LAN control apparatus of a sender's terminal for thetransmission packet, IP-SEC encryption of the transmission packet andencryption of the header data of the transmission packet subjected toIP-SEC encryption are performed, and at a LAN control apparatus of arecipient's terminal for the transmission packet, decoding of the headerdata of the received transmission packet and IP-SEC decryption of thetransmission packet are performed using the decoded header data.
 10. Acommunication control method using a transmission packet encrypted by anIP-SEC encrypting method, said communication method comprising:encrypting a transmission packet by an IP-SEC encrypting method;encrypting header data to be used to decode the encrypted transmissionpacket, wherein the header data is authentication data in an IP-SECheader of the encrypted transmission packet; transmitting the encryptedtransmission packet whose header is encrypted; receiving the encryptedtransmission packet; decoding the encrypted authentication data of thereception packet using information to be used to decode the encryptedauthentication data recorded in the IP-SEC header of the encryptedtransmission packet; and decoding the received encrypted transmissionpacket using the authentication data.
 11. A communication control methodusing a transmission packet encrypted by an IP-SEC encrypting method,said communication method comprising: encrypting a transmission packetby an IP-SEC encrypting method; encrypting header data to be used todecode the encrypted transmission packet, wherein the header data isauthentication data in an IP-SEC header of the encrypted transmissionpacket; and transmitting the encrypted transmission packet whose headeris encrypted, wherein a plurality of encryption keys, serving asinformation to be used to decode the encrypted authentication data, arerecorded in the IP-SEC header of the transmission packet.
 12. Thecommunication control method according to claim 11, wherein a flag thatdesignates how each encryption key is used to decode the encryptedauthentication data is included in information to be used to decode theencrypted authentication data.
 13. The communication control methodaccording to claim 11, wherein a part of the respective encryption keysto be used to decode the encrypted authentication data is notified to arecipient from a sender for the encrypted transmission packet, and theencrypted authentication data of the received encrypted transmissionpacket is decoded using the notified encryption key and other encryptionkeys recorded in the IP-SEC header of the received encryptedtransmission packet at the recipient's terminal for the encryptedtransmission packet.